package com.cetc32.dh.service.impl;

import com.cetc32.dh.service.OptionsService;
import com.cetc32.dh.entity.Options;
import com.cetc32.dh.mybatis.OptionsMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class OptionsImpl  implements OptionsService {

    @Autowired
    public OptionsMapper optionsMapper;

    public List<Options> selectByCategory(String category){
        return optionsMapper.selectByCategory(category);
    }
}
